package com.acme.javaschool.sems.ionio;

import com.acme.javaschool.sems.ionio.filetools.IoTools;
import org.junit.After;

import static junit.framework.Assert.assertTrue;

public class FileCopyTestBase {
/*
//    public static final String FROM = "c:/tmp/1.txt";
//    public static final String TO   = "c:/tmp/2.txt";
    public static final String FROM = "c:/tmp/data.bin";
    public static final String TO   = "c:/tmp/testResult.bin";
*/

//    public static String FROM = "/Users/data/dev/1.txt";
//    public static String TO   = "/Users/data/dev/2.txt";

    public static String FROM = "/Users/data/dev/data.bin";
    public static String TO   = "/Users/data/dev/result.bin";

    @After
    public void verifyCopy() {
        IoTools.v = true;
        assertTrue(IoTools.compareFilesIo(FROM, TO));
    }
}
